package com.itheima.service;

import com.itheima.pojo.dto.OrderSettingDto;
import com.itheima.pojo.vo.OrderSettingVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface OrderSettingService {

    /**
     * 下载预约设置数据
     * @param response
     * @param fileName
     */
    void download(HttpServletResponse response, String fileName) throws IOException;

    /**
     * 获取预约设置数据
     * @param date
     * @return
     */
    List<OrderSettingVO> getOrderSettingByMonth(String date);

    /**
     * 修改预约设置数据
     * @param orderSetting
     */
    void editNumberByOrderDate(OrderSettingDto orderSetting);

    /**
     * 上传文件
     * @param
     * @return
     */
    void upload(MultipartFile excelFile);
}
